define(()=>{
    return function(cont, res){
        let str = "";
        res.forEach(val=>{
            str +=  `<div class="goods-every-img">
                        <a href="../5.detailGoods.html?id=${val.proId}">
                            <img src="${val.img}" alt="">
                        </a>
                        <h1>${val.type}</h1>
                        <h2>3CE</h2>
                        <p>${val.proName}</p>
                        <h3><span>￥价格：</span>${val.price}</h3>
                        </div>`
        })
        cont.html(str);
    }
})